import 'package:my_app_01/service/HttpUtils.dart';

class UserApi {
  /// 根据id获取账户数据
  static Future<Map> getUserInfoById(dynamic data) async {
    var response = await HttpUtils.post(
      "/admin-api/user/user-info/selectById",
      data: data,
    );
    return response;
  }

  /// 更新用户信息
  static Future<Map> updateUserInfo(dynamic data) async {
    var response = await HttpUtils.post(
      "/admin-api/user/user-info/miniProgramEdit",
      data: data,
    );
    return response;
  }
}

